home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacApp Release 10 / MacApp Release 10 - HD Ready / Libraries / Views / Includes / UODPartViewCommands.h < prev    next >
Encoding:
Text File  |  1996-04-03  |  2.1 KB  |  83 lines  |  [TEXT/CWIE]

  1. //----------------------------------------------------------------------------------------
  2. // UODPartViewCommands.h
  3. // Copyright © 1994-96 by Apple Computer, Inc. All rights reserved.
  4. //----------------------------------------------------------------------------------------
  5.  
  6. #if qContainer
  7.  
  8. #ifndef __UODPARTVIEWCOMMANDS__
  9. #define __UODPARTVIEWCOMMANDS__
  10.  
  11. #ifndef __UODPARTVIEW__
  12. #include "UODPartView.h"
  13. #endif
  14.  
  15.  
  16.  
  17. //========================================================================================
  18. // CLASS TCopyODPartCommand
  19. //========================================================================================
  20.  
  21. class TCopyODPartCommand : public TCommand
  22. {
  23.     MA_DECLARE_CLASS;
  24.     
  25.     public:
  26.     
  27.     TCopyODPartCommand();
  28.     virtual ~TCopyODPartCommand();
  29.     virtual void ICopyODPartCommand(CommandNumber    itsCommandNumber,
  30.                                         TDocument*        itsDocument,
  31.                                         TODPartView*        thePartView);
  32.     virtual void DoIt();
  33.     
  34.     TDocument*         fDocument;
  35.     TODPartView*    fODPartView;
  36. };
  37.  
  38.  
  39. //========================================================================================
  40. // CLASS TCutODPartCommand
  41. //========================================================================================
  42.  
  43. class TCutODPartCommand : public TCommand
  44. {
  45.     MA_DECLARE_CLASS;
  46.     
  47.     public:
  48.     
  49.     TCutODPartCommand();
  50.     virtual ~TCutODPartCommand();
  51.     virtual void ICutODPartCommand(CommandNumber    itsCommandNumber,
  52.                                 TDocument*            itsDocument,
  53.                                 TODPartView*        thePartView);
  54.     virtual void DoIt();
  55.     
  56.     TDocument* fDocument;
  57.     TODPartView* fODPartView;
  58. };
  59.  
  60.  
  61. //========================================================================================
  62. // CLASS TPasteODPartCommand
  63. //========================================================================================
  64.  
  65. class TPasteODPartCommand : public TCommand
  66. {
  67.     MA_DECLARE_CLASS;
  68.     
  69.     public:
  70.     
  71.     TPasteODPartCommand();
  72.     virtual ~TPasteODPartCommand();
  73.     virtual void IPasteODPartCommand(CommandNumber        itsCommandNumber,
  74.                                     TDocument*        itsDocument,
  75.                                     TODPartView*        thePartView);
  76.     virtual void DoIt();
  77.     
  78.     TDocument* fDocument;
  79.     TODPartView* fODPartView;
  80. };
  81.  
  82. #endif
  83. #endif //qContainer